<?php 
require_once "admin/lib/class.trangchu.php";
$ado = new trangchu;
include "seo/seo.php";
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title><?php echo $title; ?></title>            
    <meta http-equiv="content-language" content="vi">
    <meta name="description" content="<?php echo $metaD; ?>">
    <meta name="keywords" content="<?php echo $metaK; ?>">    
    <base href="http://<?php echo $_SERVER['SERVER_NAME']?>/" />
    <meta name="robots" content="index,follow">
    <link rel="stylesheet" href="static/nivo.css" type="text/css" media="screen" />
    <link rel="stylesheet" type="text/css" href="static/default.css">
    <link rel="stylesheet" type="text/css" href="static/content.css">    
    <script src="static/jquery-1.js" type="text/javascript"></script>
    <script src="static/jquery.js" type="text/javascript"></script>
    <script type="text/javascript" src="static/jquery.nivo.slider.js"></script>
    <script type="text/javascript">
    $(window).load(function() {
        $('#slider').nivoSlider();
    });
    </script>
    <script type="text/javascript">
        $(document).ready(function () {
            $('#mycarousel').jcarousel({
                wrap: 'circular'
            });
        });

    </script>   
</head>
<body>
    <div id="mega-wrapper">
        <div id="mega-header" >           
                        
            <div style="height:150px;text-align:center;"><img src="images/logo.png" width="500" alt="Công ty TNHH TMDV Đạt Chí" /></div>
            <?php include "blocks/main_menu.php"; ?>
        </div>
        <div class="ClearItems"></div>
        <div id="mega-content">
            
            <div class="topbanner">
                <img src="static/top_banner.jpg" alt="" height="267" width="974" />
                <div class="lst_txt">
                    <span class="redtext">Hotline: </span>&nbsp;0913.618.880 - 0917.492.306
                </div>
            </div>
            
            <div id="left-col">                
				
				<?php include "blocks/menu.php"; ?>
                
                <?php include "blocks/support.php"; ?>       
                
                <?php include "blocks/ads.php"; ?>
                
            </div>
  
            <div id="right-col">
                <?php 
				if($mod==""){
					include "blocks/hot.php";
					
					include "blocks/camera.php";
                
                }
				if($mod=='detail'){
					include "page/detail.php";
				}
				if($mod == 'cat') {
					include "page/cat.php";
				}
				if($mod == 'gioi-thieu') {
					include "page/about.php";
				}
				if($mod == 'san-pham') {
					include "page/product.php";
				}
				if($mod == 'khuyen-mai') {
					include "page/khuyenmai.php";
				}
				if($mod == 'lien-he') {
					include "page/contact.php";
				}
				
				?>
                
            </div>

            <br class="ClearItems" />
            <?php include "blocks/customer.php"; ?>
            
        </div>
        <div class="ClearItems"></div>        
        <div id="mega-footer">
            <?php include "blocks/footer.php"; ?>            
        </div>
    </div>
</body>
</html>